package com.marktotop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.marktotop.entity.system.Log;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 操作日志表 Mapper 接口
 * </p>
 *
 * @author MarkToTop
 * @since 2021-07-12
 */
public interface LogMapper extends BaseMapper<Log> {

    /**
     * 分页展示操作日志列表
     *
     * @param page
     * @param log
     * @return
     */
    IPage<Log> getLogsByPage(Page<Log> page,@Param("log") Log log);
}
